#ifndef __QUEUE_H__
#define __QUEUE_H__

#include <stdio.h>
#include <stdlib.h>

#define N 5

typedef struct {
    int tasks[N];
    int task_num;
    int head;
    int tail;
} queue;

void queue_create(queue **Q);
void queue_push(queue *Q, int data);
int queue_pop(queue *Q);

#endif
